package com.md.api.dao;

import com.md.api.entity.RechargeRecord;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RechargeRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RechargeRecord record);

    RechargeRecord getByRechargeId(String id);

    int updateByPrimaryKey(RechargeRecord record);

    List<RechargeRecord> myRecharge(String userId);
}